<!doctype html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"><meta name="format-detection" content="telephone=no">
    <title>aside</title>
    <link rel="stylesheet" href="../assets/agile/css/agile.layout.css">
<link rel="stylesheet" href="../assets/third/seedsui/plugin/seedsui/seedsui.min.css">
</head>

<body>
<div id="section_container">
	
    <aside data-position="left" data-transition="overlay" id="aside_overlay_left">切~压死你！</aside>
    <aside data-position="left" data-transition="push" id="aside_push_left">你从哪儿来，我从左方来~</aside>
    <aside data-position="left" data-transition="reveal" id="aside_reveal_left">reveal侧边栏将会一直在此等候被压</aside>
    
    <aside data-position="right" data-transition="overlay" id="aside_overlay_right">切~压死你！</aside>
    <aside data-position="right" data-transition="push" id="aside_push_right">你从哪儿来，我从右方来~</aside>
    <aside data-position="right" data-transition="reveal" id="aside_reveal_right">reveal侧边栏将会一直在此等候覆盖</aside>
    
    <div id="section_container">
    <section data-role="section" id="page_aside" class="active">
    	<header>
        	<div class="titlebar">
                <a data-toggle="back" href="#">
                    <i class="icon icon-arrowleft"></i>
                </a>
                <h1>侧边栏</h1>
            </div>
        </header>
        <article id="main_article" data-role="article" class="active">
        	<p class="title">左侧菜单栏</p>
            <div class="card">
                <a id="overlayLeft" class="button block margin8">overlay左侧边栏</a>
                <a id="pushLeft" class="button block margin8 submit">push左侧边栏</a>
                <a id="revealLeft" class="button block margin8 warn">reveal左侧边栏</a>
            </div>
            <p class="title">右侧菜单栏</p>
            <div class="card">
                <a id="overlayRight" class="button block margin8">overlay右侧边栏</a>
                <a id="pushRight" class="button block margin8 submit">push右侧边栏</a>
                <a id="revealRight" class="button block margin8 warn">reveal右侧边栏</a>
            </div>
        </article>
    </section>
</div>
<!--- third -->
	<script src="../assets/third/jquery/jquery-2.1.3.min.js"></script>
	<script src="../assets/third/jquery/jquery.mobile.custom.min.js"></script>
	<!---  agile -->
	<script type="text/javascript" src="../assets/agile/js/agile.js"></script>
<script type="text/javascript" src="../assets/bridge/exmobi.js"></script>
<script type="text/javascript" src="../assets/bridge/agile.exmobi.js"></script>			
	<!-- app -->
	<script type="text/javascript" src="../assets/app/js/app.seedsui.js"></script>
        <div class="section_container_mask"></div>
    </div>
    
    
    
    
    
    
    
    <script type="text/javascript">
        window.addEventListener("load",function(e){
            $("#overlayLeft").click(function(){
                $("#aside_overlay_left").toggleClass("active");
            });
    		$("#pushLeft").click(function(){
                $("#aside_push_left").toggleClass("active");
            });
    		$("#revealLeft").click(function(){
                $("#aside_reveal_left").toggleClass("active");
            });
    		$("#overlayRight").click(function(){
                $("#aside_overlay_right").toggleClass("active");
            });
    		$("#pushRight").click(function(){
                $("#aside_push_right").toggleClass("active");
            });
    		$("#revealRight").click(function(){
                $("#aside_reveal_right").toggleClass("active");
            });
    		$(".section_container_mask").click(function(){
                $("aside").removeClass("active");
            });
        },false);
        
    	
    </script>
</body>
</html>
